package org.ahuanlien.crm.mapper;

import org.ahuanlien.crm.domain.Menu;

import java.util.List;

public interface MenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Menu record);

    Menu selectByPrimaryKey(Long id);

    List<Menu> selectAll();

    int updateByPrimaryKey(Menu record);


	List<Menu> selectRootMenu();

	List<Long> selectMenuByEmployeeId(Long id);
}